package com.cx.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.cx.entity.ArticleComment;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author cx
 * @since 2024-06-07
 */
public interface ArticleCommentMapper extends BaseMapper<ArticleComment> {
    //    条件查询所有评论
    @Select("select *from t_Article_Comment ${ew.customSqlSegment}")
    IPage<ArticleComment> getClubListPageConditions(IPage<ArticleComment> page, @Param(Constants.WRAPPER) LambdaQueryWrapper<ArticleComment> clubLambdaQueryWrapper);
}
